Skip to content

fix: fix crash due data race on globalMarkdownWorkletRuntime#752

Open
linhvovan29546 wants to merge 2 commits intoExpensify:mainfrom
linhvovan29546:fix/crash-due-data-race
Open

fix: fix crash due data race on globalMarkdownWorkletRuntime#752
linhvovan29546 wants to merge 2 commits intoExpensify:mainfrom
linhvovan29546:fix/crash-due-data-race

Conversation

@linhvovan29546
Copy link

@linhvovan29546 linhvovan29546 commented Feb 15, 2026

Details

This PR fixes the Sentry crash (std::__ndk1::default_delete<T>::operator()[abi:ne180000]) reported here. The globalMarkdownWorkletRuntime could be accessed from both the JS and UI threads, causing a data race, this PR adds a mutex to protect this shared_ptr.

Related Issues

Expensify/App#82146

Manual Tests

This issue is hard to reproduce, so please we need to verify that the input still works as before like typing, copy/pasting, and other basic interactions

Linked PRs

@github-actions
Copy link

github-actions bot commented Feb 15, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@linhvovan29546
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

tomekzaw
tomekzaw previously approved these changes Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants